﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.models.vo {
    import flash.events.*;

    public class RewardVO {

        private var _id:String;
        private var _completed:Boolean;
        private var _pointsNeeded:int;
        private var _rewardType:String;
        private var _numberRewards:int;
        private var _xp:int;
        private var _rewardCollected:Boolean;
        private var _eventDispatcher:EventDispatcher;
        private var _achievementVO:AchievementVO;
        private var _medal:String;

        public function get pointsNeeded():int{
            return (this._pointsNeeded);
        }
        public function set pointsNeeded(_arg1:int):void{
            this._pointsNeeded = _arg1;
        }
        public function get rewardType():String{
            return (this._rewardType);
        }
        public function set rewardType(_arg1:String):void{
            this._rewardType = _arg1;
        }
        public function get numberOfRewardsYouGet():int{
            return (this._numberRewards);
        }
        public function set numberOfRewardsYouGet(_arg1:int):void{
            this._numberRewards = _arg1;
        }
        public function get xpYouGet():int{
            return (this._xp);
        }
        public function set xpYouGet(_arg1:int):void{
            this._xp = _arg1;
        }
        public function get completed():Boolean{
            return (this._completed);
        }
        public function set completed(_arg1:Boolean):void{
            if (!this._completed){
                this._completed = _arg1;
            };
        }
        public function get rewardCollected():Boolean{
            return (this._rewardCollected);
        }
        public function set rewardCollected(_arg1:Boolean):void{
            this._rewardCollected = (this._completed = _arg1);
        }
        public function get id():String{
            return (this._id);
        }
        public function set id(_arg1:String):void{
            this._id = _arg1;
        }
        public function set eventDispatcher(_arg1:EventDispatcher):void{
            this._eventDispatcher = _arg1;
        }
        public function set achievementVO(_arg1:AchievementVO):void{
            this._achievementVO = _arg1;
        }
        public function get achievementVO():AchievementVO{
            return (this._achievementVO);
        }
        public function get medal():String{
            return (this._medal);
        }
        public function set medal(_arg1:String):void{
            this._medal = _arg1;
        }

    }
}//package net.wooga.pets.models.vo 
